﻿using SmartPlant.Core.Mvvm;

namespace SmartPlant.Modules.Base.UIEntity
{
    public class SpectOutpuTemplateModel : GridViewModelBase
    {
        public SpectOutpuTemplateModel() { }

        private int _id;
        public int Id
        {
            get { return _id; }
            set { SetProperty(ref _id, value); }
        }

        private string _name;
        public string Name
        {
            get { return _name; }
            set { SetProperty(ref _name, value); }
        }

        private string _description;
        public string Description
        {
            get { return _description; }
            set { SetProperty(ref _description, value); }
        }

        private string _type;
        public string Type
        {
            get { return _type; }
            set { SetProperty(ref _type, value); }
        }

        private string _templatePath;
        /// <summary>
        /// 模板文件的相对路径。绝对路径就在vaultConfig.path + templates_output 
        /// </summary>
        public string TemplatePath
        {
            get { return _templatePath; }
            set { SetProperty(ref _templatePath, value); }
        }
    }
}
